package com.ruoyi.oa.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;
import com.ruoyi.workflow.domain.ActBusinessStatus;


/**
 * 费用报销视图对象 oa_finance_submit
 *
 * @author xiaoyan
 * @date 2023-05-17
 */
@Data
@ExcelIgnoreUnannotated
public class OaFinanceSubmitVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
//    @ExcelProperty(value = "主键ID")
    private String id;

    /**
     * 部门id
     */
//    @ExcelProperty(value = "部门id")
    private Long deptId;

    /**
     * 用户id
     */
//    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称")
    private String projectName;

    /**
     * 报销人姓名
     */
    @ExcelProperty(value = "报销人姓名")
    private String applicantName;

    /**
     * 报销人所属部门
     */
    @ExcelProperty(value = "报销人所属部门")
    private String applicantDept;

    /**
     * 报销人卡号
     */
    @ExcelProperty(value = "报销人卡号")
//    @ExcelDictFormat(dictType = "applicant_type")
    private String applicantCardNumber;

    /**
     * 报销人开户银行名称
     */
    @ExcelProperty(value = "报销人开户银行名称")
    private String applicantRankName;

    /**
     * 费用类型
     */
    @ExcelProperty(value = "费用类型",converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "applicant_type")
    private String applicantType;

    /**
     * 报销内容
     */
    @ExcelProperty(value = "报销内容")
    private String applicantContent;

    /**
     * 收款方单位名称
     */
    @ExcelProperty(value = "收款方单位名称")
    private String payeeUnitName;

    /**
     * 收款方账号
     */
    @ExcelProperty(value = "收款方账号")
    private String payeeAccount;

    /**
     * 收款方开户银行名称
     */
    @ExcelProperty(value = "收款方开户银行名称")
    private String payeeRankName;

    /**
     * 收款合计
     */
    @ExcelProperty(value = "收款合计")
    private String payeeTotal;

    /**
     * 收款总额大写
     */
    @ExcelProperty(value = "收款总额大写")
    private String payeeCapitalization;

    /**
     * oss集合
     */
//    @ExcelProperty(value = "oss集合")
    private String attachment;

    /**
     * 备注
     */
//    @ExcelProperty(value = "备注")
    private String remarks;


    /**
     * 业务状态实体对象
     */
    private ActBusinessStatus actBusinessStatus;


    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    @ExcelProperty(value = "提交日期")
    @ColumnWidth(20)
    private Date createTime;

    @ExcelProperty(value = "提交人")
    private String createBy;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;
}
